﻿package java;

public class StudentsBiz {
	String[] students = new String[30];
	public void addName(String name){
		for (int i = 0; i < students.length; i++) {
			if (students[i]==null) {
				students[i]=stu;
				break;
			}
		}
	}
	public void showName(){
		System.out.println("本班学生列表:");
		for (int i = 0; i < students.length; i++) {
			if (students[i]!=null) {
				students[i].showInfo();
			}
			System.out.println();
		}
	
	}
	}